Software Development
Go Foundation For Beginners
Getting Started with Go: Error & File Handling
Getting Started with Go: Functions & Object Orientation
Getting Started with Go: Getting Started with Go: Basic Programming
Getting Started with Go: Introducing Go Programming Language

Getting Started with Go: Error & File Handling

Course Number:
it_gpgfbdj_04_enus
Lesson Objectives

Getting Started with Go: Error & File Handling

  • discover the key concepts covered in this course
  • recognize error types and why error handling is such an important consideration
  • describe how error handling is implemented in Go
  • use function return values to handle error conditions
  • recognize how to use package errors for managing errors
  • create and use custom error types
  • use the defer statement, along with panic and recover built-in functions to manage exceptions
  • perform basic file operations in Go including create, open, close, delete, truncate, rename, move, copy, and get file info
  • read an entire file into memory using package os
  • read a file line by line in Go using package bufio
  • perform directory input/output operations in Go
  • summarize the key concepts covered in this course

Overview/Description
Go has a unique approach to error handling, treating errors as values that can be passed around and manipulated just like any other values. The language also provides several packages and built-ins in the standard library for working with file systems and performing I/O operations. In this course, you'll explore how errors are handled in Go using error values. You'll learn how to handle errors by importing and using package errors and work with custom error types. You'll examine how to implement Go's defer statement along with the built-in panic and recover functions to handle and recover from real-time errors. Finally, you'll learn about file input and output and how to perform basic I/O operations on files and directories.

Target

Prerequisites: none

Getting Started with Go: Functions & Object Orientation

Course Number:
it_gpgfbdj_03_enus
Lesson Objectives

Getting Started with Go: Functions & Object Orientation

  • discover the key concepts covered in this course
  • recognize how functions and methods are created and used in Go
  • recognize how object orientation can be achieved in Go even though it is not strictly an object oriented language
  • declare and write functions in Go
  • use parameters to pass data to functions in Go
  • work with data returned by functions in Go
  • declare and call variadic functions in Go
  • define and initialize structs in Go
  • create and work with methods in Go
  • implement an interface in Go to define a method set
  • create a structured data type as an object in Go with methods that can interact with it
  • summarize the key concepts covered in this course

Overview/Description
Go is a statically-typed, multi-paradigm programming language supporting functional and procedural programming, and while Go is not an object oriented programming language out of the box, it does provide types and methods that can conveniently be used to emulate object oriented programming. In this course, you'll explore how to define and write functions and you'll learn how functions can be declared with receivers to create methods in Go. You'll explore how pointers and pointer variables are used in Go and you'll learn how to experiment with structs as objects and interfaces that explicitly define the relationship between objects. You'll explore how data types in Go can have state and behavior associated with them, and lastly, you'll explore how a lightweight form of object orientation is achieved in Go.

Target

Prerequisites: none

Getting Started with Go: Getting Started with Go: Basic Programming

Course Number:
it_gpgfbdj_02_enus
Lesson Objectives

Getting Started with Go: Getting Started with Go: Basic Programming

  • discover the key concepts covered in this course
  • recognize Go program structure and syntax
  • list and describe the various data types supported in Go
  • declare and initialize variables in Go
  • declare and initialize constants in Go
  • recognize and use operators in Go
  • recognize how scoping rules apply in Go
  • create and work with arrays in Go
  • create and work with slices in Go
  • create and work with the map data type in Go
  • create and work with pointers in Go
  • recognize how control flow statements are used in Go to develop program logic
  • use if, if/else, and switch control flow statements in Go to develop program logic
  • create and use for loops and branches to control program flow in Go
  • loop over collection data types in Go
  • work with various string manipulation functions in Go
  • summarize the key concepts covered in this course

Overview/Description
Go leverages some of the best features from other languages focusing on a simple, concise program structure and syntax. Go's relatively short learning curve means developers can start developing right away. In this course, you'll explore Go program structure and syntax and the various data types supported by Go. Next, you'll examine various approaches utilized in Go for developing program logic. You'll learn how to declare and initialize variables and constants and explore the specific operators used with different data types. You'll move on to learn how to work with complex data types and how to write code to control the flow of programs by leveraging looping and branching. Lastly, you'll learn how to manipulate and manage strings with various string functions available in Go.

Target

Prerequisites: none

Getting Started with Go: Introducing Go Programming Language

Course Number:
it_gpgfbdj_01_enus
Lesson Objectives

Getting Started with Go: Introducing Go Programming Language

  • discover the key concepts covered in this course
  • describe the core aspects of Go, why it was developed, and describe the history and future of Go
  • describe the differentiating features of Go and how it solves challenges typically encountered by programmers to create simple, reliable, and efficient software
  • describe and compare the key differences between Go and other languages including Python, Java, C++, C#, and JavaScript
  • recognize where Go is used including specific domains, and describe how it is used by some big tech companies like Google and others
  • list and describe the positives and negatives of using Go and how those considerations affect the decision to use Go
  • work with the Go Playground web service to vet, compile, format, and run programs inside a sandbox
  • download and install the Go tools in a local software development environment
  • install and configure Visual Studio Code (VS Code) for use with Go in a local software development environment
  • configure the Go development environment to manage source code using the Go Modules approach
  • summarize the key concepts covered in this course

Overview/Description

Go is a language that attempts to combine the ease of programming of an interpreted, dynamically typed language with the efficiency, maintainability and safety of a statically typed, compiled language.

In this course, you'll explore the history of Go, why it was developed and how it is used across specific domains in the real world. Next, you'll discover the differentiating features of Go, and how Go differs from other programming languages. You’ll also explore the real world uses of Go, and the pros and cons. You’ll then explore the Go Playground web service to vet, compile, link, and run programs inside a sandbox Finally, you'll learn to configure a Go development environment, installing a code editor and the Go tools on a local development machine.



Target

Prerequisites: none

Close Chat Live